<include file="public:header" />
<!--会员列表-->
<div class="pad_10" >
    <div class="J_tablelist table_list" data-acturi="{:U('user_level/ajax_edit')}">
    <table width="100%" cellspacing="0">
        <thead>
            <tr>
                <th width=25><input type="checkbox" id="checkall_t" class="J_checkall"></th>
                <th width=40><span data-tdtype="order_by" data-field="id">ID</span></th>
                <th align="left">名称</th>
                <!-- <th width="120"><span data-tdtype="order_by" data-field="min">最小经验值</span></th>
                <th align="120"><span data-tdtype="order_by" data-field="max">最大经验值</span></th> -->
                <th align="120"><span data-tdtype="order_by" data-field="is_default">是否默认</span></th>
                <th width="80">{:L('operations_manage')}</th>
            </tr>
        </thead>
    	<tbody>
            <volist name="list" id="val" >
            <tr>
                <td align="center"><input type="checkbox" class="J_checkitem" value="{$val.id}"></td>
                <td align="center">{$val.id}</td>
                <td align="left"><span data-tdtype="edit" data-field="title" data-id="{$val.id}" class="tdedit">{$val.title}</span></td>
        		<!-- <td align="center">{$val.min}</td>
        		<td align="center">{$val.max}</td> -->
                <td align="center"><img data-tdtype="toggle" data-id="{$val.id}" data-field="is_default" data-value="{$val.is_default}" src="__STATIC__/images/admin/toggle_<if condition="$val.is_default eq 0">disabled<else/>enabled</if>.gif" /></td>
                <td align="center">
                <a class="J_showdialog" href="javascript:void(0);" data-uri="{:U('user_level/edit',array('id'=>$val[id]))}" data-title="编辑" data-id="edit" data-width="400" data-height="100">编辑</a> | <a href="javascript:void(0);" class="J_confirmurl" data-uri="{:u('user_level/delete', array('id'=>$val['id']))}" data-acttype="ajax" data-msg="{:sprintf(L('confirm_delete_one'),$val['username'])}">{:L('delete')}</a></td>
            </tr>
            </volist>
    	</tbody>
    </table>
    <div class="btn_wrap_fixed">
        <label class="select_all"><input type="checkbox" name="checkall" class="J_checkall">{:L('select_all')}/{:L('cancel')}</label>
        <input type="button" class="btn" data-tdtype="batch_action" data-acttype="ajax" data-uri="{:U('user_level/delete')}" data-name="id" data-msg="{:L('confirm_delete')}" value="{:L('delete')}" />
        <div id="pages">{$page}</div>
    </div>

    </div>
</div>
<include file="public:footer" />
</body>
</html>
<link rel="stylesheet" type="text/css" href="__STATIC__/js/calendar/calendar-blue.css"/>
<script type="text/javascript" src="__STATIC__/js/calendar/calendar.js"></script>
